<?php



echo '
<script type="text/javascript">

$(document).ready(function(){





	$(window).scroll(function(){

		if  ($(window).scrollTop() > $(".smartBannerIdentifier").offset({ scroll: false }).top){

		   $(".banner").css("position", "fixed");

		   $(".banner").css("top", "0");

		}

		

		if  ($(window).scrollTop() <= $(".smartBannerIdentifier").offset({ scroll: false }).top){

		   $(".banner").css("position", "relative");

		   $(".banner").css("top", $(".smartBannerIdentifier").offset);

		}

	}); 





});

</script>
<style>

.rightWrap {

        margin-left:10px;

	width:200px;

}

.banner {

	width:200px;

}

</style>

<div class="rightWrap">

<div class="smartBannerIdentifier"></div>

<div class="banner">

<a target="_blank" href="http://zippysharemusic.com">

<img border="0" src="http://flashgame247.net/vn88ad/zippyshare200x250.jpg" width="200" height="250"></a>

</div>

</div>
'
?>


